fmt.fmt.prec (field)
17 uses
fmt (current package)
format.go#L47: prec int // precision
format.go#L57: f.prec = 0
format.go#L145: if f.precPresent && f.prec > 4 {
format.go#L146: prec = f.prec
format.go#L208: width := 3 + f.wid + f.prec // wid and prec are always positive.
format.go#L220: prec = f.prec
format.go#L329: n := f.prec
format.go#L343: n := f.prec
format.go#L379: if f.precPresent && f.prec < length {
format.go#L380: length = f.prec
format.go#L497: prec = f.prec
print.go#L186: func (p *pp) Precision() (prec int, ok bool) { return p.fmt.prec, p.fmt.precPresent }
print.go#L1120: p.fmt.prec, p.fmt.precPresent, argNum = intFromArg(a, argNum)
print.go#L1122: if p.fmt.prec < 0 {
print.go#L1123: p.fmt.prec = 0
print.go#L1131: p.fmt.prec, p.fmt.precPresent, i = parsenum(format, i, end)
print.go#L1133: p.fmt.prec = 0
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |